home *** CD-ROM | disk | FTP | other *** search
- Path: softsite.co.at!wsog
- Date: 20 Mar 1996 16:55:00 +0100
- From: wsog@softsite.co.at (Walter Sommergruber)
- Newsgroups: comp.lang.c++,comp.lang.c
- Message-ID: <65EastabnTB@softsite.co.at>
- References: <1996Mar20.104314.28950@hgl.signaal.nl> <3150987E.7214@sag.es>
- Subject: Re: Include C++ in C programs
- X-Newsreader: XP v3.02
- X-Charset: ISO-8859-1
- Organization: Sommergruber Software & Dienstleistungen
-
- roberto canales (rcanales@sag.es) wrote on 20.03.96
- about "Re: Include C++ in C programs":
-
- > > Is there anybody who knows how to call C++ member functions in a
- > > C program?
- > > If it is not possible, please tell me...
- >
- > You can declare the C++ function prototype whitch prefix:
- >
- > extern "C"
-
- Yes, but there is no way in calling a member function (look what
- he wrote above!) because non-static member functions have a hidden
- pointer to the object...
-
- --- Take a look at ...
- Walter Sommergruber The Software Site
- email: wsog@softsite.co.at http://www.softsite.co.at/softsite/
-